//
//  YXTaskListViewController.h
//  MockProject
//
//  Created by FanYu on 8/20/16.
//  Copyright © 2016 niuzhaowang. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol YXTaskListViewControllerDelegate <NSObject>

- (void)updateProgress:(NSProgress *)progress withTaskUID:(NSString *)uid;
- (void)updateSpeed:(NSString *)speed withTaskUID:(NSString *)uid;
- (void)downloadFinishedForTaskUID:(NSString *)uid;
- (void)downloadFailedForTaskUID:(NSString *)uid;
- (void)changeTaskStatusToDownloadingWithUID:(NSString *)uid;
- (void)changeTaskStatusToWaitingWithUID:(NSString *)uid;
- (void)reachabilityChangedWithStatus:(NSString *)status;

@end


@interface YXTaskListViewController : UIViewController

@property (nonatomic, weak) id<YXTaskListViewControllerDelegate> delegate;

@end
